import { HTTP } from "../../utils/http.js";

class Holiday extends HTTP {
  deleteHolidayAPI(data) {
    return this.request({
      url: "/wx/tHoliday/delete",
      data: data,
      method: "POST",
    });
  }

  saveHolidayAPI(data) {
    return this.request({
      url: "/wx/tHoliday/save",
      data: data,
      method: "POST",
    });
  }

  updateHolidayAPI(data) {
    return this.request({
      url: "/wx/tHoliday/update",
      data: data,
      method: "POST",
    });
  }

  getHolidayListAPI(data) {
    return this.request({
      url: "/wx/tHoliday/list",
      data: data,
      method: "GET",
    });
  }
}
export { Holiday };
